package com.jprocms.module.cms.controller.admin.channel.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author jprocms
 */
@Data
@Schema(description = "管理后台 - 栏目批量创建 Request VO")
public class ChannelBatchCreateNameDto {

    @NotEmpty
    @Schema(description = "栏目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "新闻")
    private String channelName;

    @Schema(description = "栏目名称的子级栏目", example = "新闻")
    private List<ChannelBatchCreateNameDto> children;

}
